package com.zp.base.service.labMaintenance;

import com.zp.base.entity.labMaintenance.bo.LabVsClinicBo;
import com.zp.base.entity.labMaintenance.vo.LabVsClinicVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 检验项目与诊疗项目对照Service接口
 *
 * @author zhang peng
 * @ date 2023-05-29
 */
public interface ILabVsClinicService {

    /**
     * 查询检验项目与诊疗项目对照
     */
    LabVsClinicVo queryById (String id);

    /**
     * 查询检验项目与诊疗项目对照列表(分页)
     */
    TableDataInfo<LabVsClinicVo> queryPageList (LabVsClinicBo bo, PageQuery pageQuery);

    /**
     * 查询检验项目与诊疗项目对照列表(不分页)
     */
    List<LabVsClinicVo> queryList (LabVsClinicBo bo);

    /**
     * 修改检验项目与诊疗项目对照
     */
    Boolean insertByBo (LabVsClinicBo bo);

    /**
     * 修改检验项目与诊疗项目对照
     */
    Boolean updateByBo (LabVsClinicBo bo);

    /**
     * 校验并批量删除检验项目与诊疗项目对照信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);
}
